.clearfix{
    display: block;
}
// 顶部导航
#container{
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 1024px;
    // 设置padding和magin时自动减少盒子设定的宽度
    box-sizing: border-box;
    .header{
        position: fixed;
        z-index: 90;
        width: 100%;
        margin: auto;
        left: 0px;
        top: 0;
        height: 46px;
        background: rgba(255, 255, 255, 0.8);
        &>div{
            &>div{
                img{
                    vertical-align: middle;
                    border-radius: 50%;
                }
            }
            padding: 8px 20px;
            box-sizing: border-box;
            margin: auto;
            width: 100%;
            .detailNav{
                width: 100%;
                box-sizing: border-box;
                font-size: 14px;           
                .back{
                    width: 70px;
                    height: 30px;
                    border-radius: 15px;
                    box-sizing: border-box;
                    background-color: #f8f8f8;
                    display: inline-block;
                    margin-left: 13px;
                    position: relative;
                    line-height: 30px;
                    text-align: center;
                    color: black;
                    font-weight: bold;
                    // padding-left: 15px;                
                }
                &>span{
                    margin-left: 18px;
                }
                .f-r{
                    width: 200px;
                    float: right;
                    position: relative;
                    a{
                        margin-left: 32px;
                        img{
                                width: 30px;
                                margin: auto;
                            }
                    }
                    
                    .headimgbox{
                        display: inline-block;
                        vertical-align: top;
                        &>div{
                            display: inline-block;
                        }
                        .usercenter{ 
                            display: block;
                            position: relative;
                            transition: all .5s;         
                        } 
                        .login-hover{
                                position: absolute;
                                top: 24px;
                                left: -40px;
                                z-index: 999;
                                width: 140px;
                                display: none;
                                transition: all .5s;
                                i{
                                    width: 15px;
                                    height: 15px;
                                    position: relative;
                                    top: 8px;
                                    left: 64%;
                                    margin-left: -7px;
                                    background-color: #fff;
                                    display: block;
                                    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.1);
                                }
                                ul{                               
                                    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.1);
                                    background-color: #fff;
                                    border-radius: 5px;
                                    overflow: hidden;
                                    z-index: 999;
                                    position: relative;
                                    li{
                                        width: 100%;
                                        display: block;border-bottom: 1px solid #eee;
                                        a{
                                            display: block;
                                            height: 50px;
                                            line-height: 50px;
                                            width: 100%;
                                            padding-left: 16px;
                                            text-align: left;
                                            box-sizing: border-box;
                                             
                                        }
                                    }
                                }
                            }
                        &>div:hover .login-hover{
                            display: block;
                        }
                        .gwc{
                            display: inline-block;
                            img{
                                width: 30px;
                                margin: auto;
                            }
                            i{
                                display: inline-block;
                                width: 20px;
                                height: 20px;
                                line-height: 20px;
                                text-align: center;
                                color: red;
                            }
                        }
                    }
                }
            }
        }
    }
}
// 商品详情
.datailBox{
    background-color: #fff;
    padding: 0 7% 60px;
    // top: 120px;
    margin: auto;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    padding-top: 140px;
    height: 657px;
    // 左侧图片
    .goodsimg{      
        width: 100%;
        margin-right: -390px;
        padding-right: 480px;
        box-sizing: border-box;
        float: left;
        position: relative;                
        .goodsimgbox{            
            width: 100%;
            border: 1px solid #f7f7f7;
            .img{
                width: 593px;
                height: 395px;
                text-align: center;
                position: relative;
                img{
                    width: 593px;
                    height: 395px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    margin: auto;
                    // filter: drop-shadow(2px 3px 6px rgba(0,0,0,0.5));
                }
                span{
                    width: 200px;
                    height: 200px;
                    display: none;
                    position: absolute;
                    z-index: 10;
                    background-color: yellow;
                    opacity: 0.3;
                }
                // 放大的图
                .fangdade{
                    width: 100%;
                    height: 395px;
                    position: absolute;
                    left: 700px;
                    display: none;
                    overflow: hidden;
                    z-index: 999;
                    margin-left: -20px;
                    img{
                        width: 1206px;
                        height: 790px;
                        position: absolute;
                    }
                }         
            }
            // 缩略图
            .otherimg{
                width: 100%;
                min-height: 124px;
                padding: 20px 3px 10px;
                border-top: 1px solid #f7f7f7;
                
                box-sizing: border-box;
                img{
                    background-position: center center;
                    background-size: cover;
                    background-repeat: no-repeat;
                    width: 104px;
                    height: 104px;
                    margin-left: 15px;
                    margin-bottom: 10px;
                    float: left;
                    opacity: 1;
                }
            }
        }
    }
    // 右侧信息
    .goodInFo{
        width: 390px;
        float: left;
        overflow: hidden;
        position: relative;
        padding-top: 5px;
        padding-bottom: 80px;
        .btns{
            height: 48px;
            border-bottom: solid 1px #dddddd;
            .artInfoBtn {
                position: relative;
                float: right;
            }
            span{
                display: inline-block;
                height: 34px;
                border-bottom: solid 4px transparent;
                vertical-align: middle;
                font-size: 22px;
                font-weight: bold;
                cursor: pointer;
                i{
                    position: absolute;
                    width: 144px;
                    height: 44px;
                    background-color: #ffffff;
                    font-size: 14px;
                    text-align: center;
                    color: #CF680A;
                    left: -143px;
                    font-style: normal;
                    line-height: 44px;
                    vertical-align: middle;
                    top: -5px;
                    padding-right: 5px;
                    box-sizing: border-box;
                    text-align: center;
                    background-size: 100% 100%;
                    background-image: url(https://cdn.ywart.com/content/image/点击查看作品信息.png);

                }
            }
        }
        .buyInFo{
            width: 100%;
            position: relative;
            top: 0px;
            right: 0%;
            .price {
                padding: 20px 0 0;
                line-height: 28px;
                font-size: 24px;
                font-weight: bold;
            }
            .classify{
                font-size: 14px;
                border-top: 1px solid #ddd;
                line-height: 46px;
                height: 46px;
                margin-top: 12px;
                opacity: 1;
                ul li{
                    float: left;
                    color: #333;
                    max-width: 186px;
                    height: 46px;
                    overflow: hidden;
                    margin-right: 30px;
                    line-height: 46px;
                    img{
                        width: 14px;
                        height: 14px;
                        vertical-align: middle;
                        margin-top: -2px;
                    }
                }
            }
            .riqi{
                font-size: 15px;
                color: #333333;
                line-height: 46px;
                border-top: 1px solid #ddd;
                cursor: pointer;
            }
            .cart{
                border-top: 1px solid #ddd;
                padding-top: 20px;
                background-color: black;
                font-size: 14px;
                display: block;
                float: left;
                width: 100%;
                height: 40px;
                line-height: 40px;
                text-align: center;
                border: 0;
                padding: 0;
                margin: 0;
                outline: none;
                color: #fff;
                position: relative;
                letter-spacing: 2px;
                font-weight: bold;
            }
        }
    }
}